package com.ruoyi.project.countrybus.domain;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 *  储存一次调度的所有信息
 */
public class SysAllInfo {


    private SysDriver sysDriver;

    private SysVehicle sysVehicle;

    private List<SysStation> sysStationList;

    private List<SysStationRoute> sysStationRouteList;

    private SysDispatch sysDispatch;

    private List<SysCustomer> sysCustomerList;

    public SysDriver getSysDriver() {
        return sysDriver;
    }

    public void setSysDriver(SysDriver sysDriver) {
        this.sysDriver = sysDriver;
    }

    public SysVehicle getSysVehicle() {
        return sysVehicle;
    }

    public void setSysVehicle(SysVehicle sysVehicle) {
        this.sysVehicle = sysVehicle;
    }

    public List<SysStation> getSysStationList() {
        return sysStationList;
    }

    public void setSysStationList(List<SysStation> sysStationList) {
        this.sysStationList = sysStationList;
    }

    public List<SysStationRoute> getSysStationRouteList() {
        return sysStationRouteList;
    }

    public void setSysStationRouteList(List<SysStationRoute> sysStationRouteList) {
        this.sysStationRouteList = sysStationRouteList;
    }

    public SysDispatch getSysDispatch() {
        return sysDispatch;
    }

    public void setSysDispatch(SysDispatch sysDispatch) {
        this.sysDispatch = sysDispatch;
    }

    public List<SysCustomer> getSysCustomerList() {
        return sysCustomerList;
    }

    public void setSysCustomerList(List<SysCustomer> sysCustomerList) {
        this.sysCustomerList = sysCustomerList;
    }

    public SysAllInfo(SysDriver sysDriver, SysVehicle sysVehicle, List<SysStation> sysStationList, List<SysStationRoute> sysStationRouteList, SysDispatch sysDispatch, List<SysCustomer> sysCustomerList) {
        this.sysDriver = sysDriver;
        this.sysVehicle = sysVehicle;
        this.sysStationList = sysStationList;
        this.sysStationRouteList = sysStationRouteList;
        this.sysDispatch = sysDispatch;
        this.sysCustomerList = sysCustomerList;
    }

    public SysAllInfo() {
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("sysDriver", getSysDriver())
                .append("sysVehicle", getSysVehicle())
                .append("sysStationList", getSysStationList())
                .append("sysStationRouteList", getSysStationRouteList())
                .append("sysDispatch", getSysDispatch())
                .append("sysCustomerList", getSysCustomerList())
                .toString();
    }


}
